/**
 * 路由文件
 */
import {createRouter, createWebHashHistory} from "vue-router";
import route from "@/router/modules/static.js";

const routes = [
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/login',
        name: 'Login',
        component: () => import('@/views/Login/Login.vue')
    },
    ...route
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})
export default router
